package com.zmj.sy.mom.srv.aps.bean.dto.apsmes;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class DoWorksDto {

    @ApiModelProperty("任务动作，备选项：start-开工，stop-中止，complete-完工")
    @NotBlank(message = "任务动作不能为空!")
    private String workAction;

    @ApiModelProperty("工位编码")
    private String workPlace;
    @ApiModelProperty("工序")
    @NotBlank(message = "工序编码不能为空!")
    private String nxphdescr;

    @ApiModelProperty("钢板号，支持多个，用逗号分隔")
    @NotBlank(message = "钢板号不能为空!")
    private String workId;

    @ApiModelProperty("操作人员")
    private String workers;

    @ApiModelProperty("报工料位编码，完工时必填")
    private String stockPlaceName;

    @ApiModelProperty("是否需要质检,默认为true")
    private Boolean needInspected;

}
